 class LDCshiyan{
    int C(int n,int m){
        if (m==n||m==0){
            return 1;
        }
        else return C(n-1,m-1)+C(n-1,m);
    }
}
public class Diedai {
    public static void main(String[] args) {
        int Arr[] = new int[args.length];
        for (int i = 0; i<args.length; i++) {
            Arr[i] = Integer.parseInt(args[i]);
        }
        int n= Arr[0];
        int m= Arr[1];
	int result;
	LDCshiyan x = new LDCshiyan();
        if(n<m||m<0||n<0){
                System.out.println("错误的输入方式！");
            }
            else {
                result = x.C(n,m);
                System.out.println("结果为:"+result);
            }
        }
    }
